Page({
  data: {
    title: [{
      img: "../../icon/diannao.png",
      name: "功能1"
    }, {
      img: "../../icon/gongzuoliuchengtu.png",
      name: "功能2"
    }, {
      img: "../../icon/lc.png",
      name: "功能3"
    }, {
      img: "../../icon/tianjiajihua.png",
      name: "功能4"
    }, {
      img: "../../icon/wenben.png",
      name: "功能5"
    }, ],
    show: false,
    content: [
      {
      icon: "../../icon/wode1.png",
      name: "功能A",
      data: [{
        icon: "../../icon/wenben.png",
        name: "功能A1"
      }, 
      {
        icon: "../../icon/wenbenshuru.png",
        name: "功能A2"
      },
      {
        icon: "../../icon/wenbenshuru.png",
        name: "功能A3"
      },
      {
        icon: "../../icon/wenbenshuru.png",
        name: "功能A4"
      },
      {
        icon: "../../icon/wenbenshuru.png",
        name: "功能A5"
      },
    ]
    },
    {
      icon: "../../icon/wode1.png",
      name: "功能B",
      data: [
        {
        icon: "../../icon/wenben.png",
        name: "功能B1"
      }, 
      {
        icon: "../../icon/wenben.png",
        name: "功能B2"
      }, 
      {
        icon: "../../icon/wenben.png",
        name: "功能B3"
      }, 
      {
        icon: "../../icon/wenben.png",
        name: "功能B4"
      }, 
      {
        icon: "../../icon/wenben.png",
        name: "功能B5"
      }, 
      {
        icon: "../../icon/wenben.png",
        name: "功能B6"
      }, 
      {
        icon: "../../icon/wenben.png",
        name: "功能B7"
      }, 
      {
        icon: "../../icon/wenben.png",
        name: "功能B8"
      }, 
      {
        icon: "../../icon/wenben.png",
        name: "功能B9"
      }, 
    ]
    },
    {
      icon: "../../icon/wode1.png",
      name: "功能C",
      data: [{
        icon: "../../icon/wenben.png",
        name: "功能C1"
      }, ]
    },
    {
      icon: "../../icon/wode1.png",
      name: "功能D",
      data: [{
        icon: "../../icon/wenben.png",
        name: "功能D1"
      }, ]
    },
    {
      icon: "../../icon/wode1.png",
      name: "功能E",
      data: [{
        icon: "../../icon/wenben.png",
        name: "功能E1"
      }, ]
    },
    {
      icon: "../../icon/wode1.png",
      name: "功能F",
      data: [{
        icon: "../../icon/wenben.png",
        name: "功能F1"
      }, ]
    },
    {
      icon: "../../icon/wode1.png",
      name: "功能G",
      data: [{
        icon: "../../icon/wenben.png",
        name: "功能G1"
      }, ]
    },
    {
      icon: "../../icon/wode1.png",
      name: "功能H",
      data: [{
        icon: "../../icon/wenben.png",
        name: "功能H1"
      }, ]
    },
    {
      icon: "../../icon/wode1.png",
      name: "功能I",
      data: [{
        icon: "../../icon/wenben.png",
        name: "功能I1"
      }, ]
    },
    {
      icon: "../../icon/wode1.png",
      name: "功能J",
      data: [{
        icon: "../../icon/wenben.png",
        name: "功能J1"
      }, ]
    },
  ],
  text:[],
  header:"",
  },
  showPopup(e) {
    this.setData({
      show: true,
      text:e.currentTarget.dataset.con,
      header:e.currentTarget.dataset.title
    });
  },

  onClose() {
    this.setData({
      show: false,
     
    });
  },
})